Piwik\Db\Schema\Mysql A

Total Complexity 71
Dependencies 13
Dependents 1
Total lines 399
Lines of code 249
Logical lines of code 149
Comment lines 103
Methods 36
Properties 1

Methods 36

Method Rating Maintainability Complexity Lines of code
optimizeTables()
A
49 12 29
getTablesInstalled()
S
53 5 21
addMaxExecutionTimeHintToQuery()
S
57 4 15
getTableCreateOptions()
S
60 3 14
createTables()
S
59 3 14
createTable()
S
63 3 10
truncateAllTables()
S
70 2 6
getDatabaseCreateOptions()
S
65 2 9
isOptimizeInnoDBSupported()
S
65 2 8
getTableCreateSql()
S
68 2 7
getInstallVersion()
S
69 2 7
recordInstallVersion()
S
73 2 5
dropDatabase()
S
71 2 5
createDatabase()
S
66 2 8
getAllExistingTables()
S
70 2 6
getTableColumns()
S
65 2 9
getTablesNames()
S
65 2 9
getUsedCharset()
S
81 1 3
getDbName()
S
81 1 3
getDbSettings()
S
80 1 3
getDb()
S
81 1 3
getTableStatus()
S
80 1 3
getVersion()
S
80 1 3
getTablePrefix()
S
81 1 3
getUsedCollation()
S
81 1 3
getTablesCreateSql()
S
63 1 6
getTableRowFormat()
S
81 1 3
getTableEngine()
S
81 1 3
getSupportedReadIsolationTransactionLevel()
S
82 1 3
supportsSortingInSubquery()
S
81 1 3
getDefaultPort()
S
82 1 3
getDefaultCollationForCharset()
S
74 1 4
supportsComplexColumnUpdates()
S
81 1 3
createAnonymousUser()
S
66 1 7
hasTables()
S
79 1 3
getTablePrefixEscaped()
S
73 1 5